Skip to content

Pre-commit tweaks#820

Merged
eivl merged 2 commits into
masterfrom
feat/ci/pre-commit-tweaks
Mar 6, 2020
Merged

Pre-commit tweaks#820
eivl merged 2 commits into
masterfrom
feat/ci/pre-commit-tweaks

Conversation

@MarkKoz
Copy link
Copy Markdown
Contributor

@MarkKoz MarkKoz commented Mar 5, 2020

As discussed internally, showing the diff after pre-commit isn't very useful - it's just clutter. I also removed the pre-commit excludes since they are redundant.

MarkKoz added 2 commits March 5, 2020 09:04
It's noisy, messy output. It's not of much benefit anyway as users can
run git diff locally if they really need to see a diff. They have to do
work locally anyway since CI won't commit the fixes pre-commit makes.
It was excluding files that are already ignored by git. Pre-commit
respects git ignore, even with --all-files, so these ignores were
redundant.
@MarkKoz MarkKoz added t: feature New feature or request a: CI Related to continuous intergration and deployment p: 2 - normal Normal Priority status: needs review labels Mar 5, 2020
@MarkKoz MarkKoz requested a review from a team as a code owner March 5, 2020 17:10
@MarkKoz MarkKoz requested review from kwzrd and sco1 and removed request for a team March 5, 2020 17:10
@eivl eivl merged commit 3cf0d56 into master Mar 6, 2020
@eivl eivl deleted the feat/ci/pre-commit-tweaks branch March 6, 2020 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: CI Related to continuous intergration and deployment p: 2 - normal Normal Priority t: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants